import pygame

pygame.init()
screen=pygame.display.set_mode((600,800))
pygame.display.set_caption('打飞机')
icon=pygame.image.load('fujun.jpg')
pygame.display.set_icon(icon)

running=True
while running:
    for event in pygame.event.get():
        if event.type==pygame.QUIT:
            running=False